package org.spring.springcloud.domain;import java.io.Serializable;/** * Created by liyu2 on 2017/10/11. */public class Post implements Serializable {    private int id;    private User user;    private String title;    private String content;    public int getId() {        return id;    }    public void setId(int id) {        this.id = id;    }    public User getUser() {        return user;    }    public void setUser(User user) {        this.user = user;    }    public String getTitle() {        return title;    }    public void setTitle(String title) {        this.title = title;    }    public String getContent() {        return content;    }    public void setContent(String content) {        this.content = content;    }}